<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../lib/vue.js"></script>
</head>
<body>

<div id="box">
    <input type="button" value="按钮" @click="show($event)"/>

    <button title="cyl sb">panpan!!!</button>
    <br/>
    <input v-model="msg"/>
    <br/>
    <p>{{msg}}</p>
    <br/>
    <p v-once="">{{msg}}</p>
    <br/>
    <hr/>
    <p v-text="msg"></p>
</div>

<script>
    window.onload = function () {
        new Vue({
            el: '#box',
            data: {
                msg: 'abc'
            },
            methods: {
                show: function(event){
                    alert(event.clientY)
                }
            }
        })
    }
</script>
</body>
</html>